var distributionArea = $("#distributionArea");

//加载数据
function loadData(entityid) {
	pcGlobal.sendRequest(__ctx + "/supplier/queryDistributionArea.xhtml", {entityid : entityid}, function(data, status) {
		if (data.status) {
			for (var i = 0; i < data.result.length; i ++) {
				var area = data.result[i];
				var html = "<tr>" + 
							"<td class='lg'><label>" + (i + 1) + "：</label></td>" + 
							"<td class='lg'>" + 
								"<div id='areaname" + i + "' class='search-label' defaultValue='" + area.areaname + "' width='432' height='26'></div>" + 
							"</td>" + 
						   "</tr>";
				distributionArea.append($(html));
			}
			search.parse();
		} else search.warn({content : "加载配送区域失败！"});
	});
}